const {defineConfig} = require('@vue/cli-service')
module.exports = defineConfig({
    transpileDependencies: true,
    lintOnSave: false,
    devServer:{
        proxy: {
            '/api': {
                target: 'http://localhost:8081', //接口域名
                changeOrigin: true,             //是否跨域
                pathRewrite: {                  //路径重置
                    '^/api': ''
                }
            },
        },
        client: {
            overlay: false,
        },
    }
})
